package com.example.saas.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@TableName("sys_tenant")
public class Tenant {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String tenantId;

    private String tenantName;

    private String contactName;

    private String contactPhone;

    private String logo;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private String status;

    private Long datasourceId;

    private Long resourceId;

    private String isDeleted;

    private Long createdId;

    private String createdName;

    private LocalDateTime createdTime;

    private Long updatedId;

    private String updatedName;

    private LocalDateTime updatedTime;
}
